# -*- coding: utf-8 -*-
# @Time    : 2022/3/14 16:36
# @Author  : TangDagui
# @Email   : 3297364807@qq.com
# @File    : __init__.py.py
# @Software: PyCharm
import time
from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys

browser = webdriver.Chrome(r"C:\Users\Administrator\PycharmProjects\pythonTask\mrTang\reptile\chromedriver.exe")
browser.implicitly_wait(10)
browser.get("https://pc.xuexi.cn/points/login.html?ref=https%3A%2F%2Fwww.xuexi.cn%2F")



ActionChains(browser).key_down(Keys.CONTROL).send_keys("t").key_up(Keys.CONTROL).perform()  # 不退出窗口
